/* 
 * Source code of exercise1
 * Written by LittleQ
 * 98703060@nccu.edu.tw
 */

#include <iostream>
#include <string>
#include <vector>
#include <sstream>

using namespace std;



vector<string> &split(const string &s, char delim, vector<string> &elems) {
    stringstream ss(s);
    string item;

    while(getline(ss, item, delim)) {
        elems.push_back(item);
    }

    return elems;
}

vector<string> split(const string &s, char delim) {
    vector<string> elems;
    return split(s, delim, elems);
}




string acronym(string str){
    string result = "";
    vector<string> words;

    words = split(str, ' ');

    for ( vector<string>::iterator it = words.begin(); it!=words.end(); ++it){
        result += (*it)[0];
    }

    return result;
}

int main(){
    string input;

    while(getline(cin, input)){
        cout << acronym(input) << endl;
    }
    return 0;
}
